package com.eddie.builder.improve;

/**
 * @author Eddie
 * @date 2022/07/28 10:54
 **/
public class Client {
    public static void main(String[] args) {
        //盖普通房子
        CommonHouse commonHouse = new CommonHouse();
        //准备创建房子的指挥者
        HouseDirector houseDirector = new HouseDirector(commonHouse);
        //完成盖房子，返回产品
        House house = houseDirector.constructHouse();
        System.out.println(house);
    }
}
